body {
    max-width: 540px;
    min-width: 320px;
    /* 给了body宽度后，让body在页面居中~~ */
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    /* 去掉点击产生的高亮 transparent  透明  */
    -webkit-tap-highlight-color: transparent;
    height: 2000px;
}
.main-content {
    padding: 4px;
}
a {
    text-decoration: none;
    color: #333;
}

/*<头部搜索 start=================================-->*/
    .search-index {
        display: flex;
        top: 0;
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        max-width: 540px;
        min-width: 320px;
        width: 100%;
        height: 44px;
        font-size: 12px;
        background-color: #F6F6F6;
        border-top: 1px solid #cccccc;
        border-bottom: 1px solid #ccc;
    }
    .user {
        width: 44px;
        text-align: center;
        color: #099FDE;
    }
    .user::before {
        content: "";
        display: inline-block;
        width: 22px;
        height: 22px;
        margin: 2px 11px -4px 11px;
        /* background-color: rgb(247, 65, 65); */
        background: url(../images/sprite.png) -59px -194px no-repeat;
        background-size: 104px 328px;
    }
    .search input {
        flex: 1;
        border: none;

        background-color: transparent;
        box-sizing: border-box;
    }
    .search {
        display: flex;
        flex: 1;
        border-radius: 5px;
        margin: 10px;
        box-sizing: border-box;
        border: 1px solid #ccc;
        box-shadow: 0 4px 20px rgba(0,0,0,.2);
    }
    .search::before {
        content: "";
        width: 17px;
        height: 16px;
        margin: 3px;
        background: url(../images/sprite.png) -58px -278px no-repeat;
        background-size: 104px 328px;
        
    }

/*<头部搜索 end=================================-->*/

/*< focus start=================================-->*/
    .focus {
        margin-top: 44px;
        box-sizing: border-box;
    }
    .focus img {
        display: block;
        width: 100%;
        border-radius: 5px;
    }
/*< focus end=================================-->*/

/*<local-nav start=================================-->*/
.local-nav {
    margin-top: 7px;
    display: flex;
    height: 64px;
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    box-sizing: border-box;
}
.local-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222;
    font-size: 12px;
}
.local-nav div {
    margin-top: 6px;
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px 160px;
}
.local-nav .icon2 {
    background-position: 0 -32px;
}
.local-nav .icon3 {
    background-position: 0 -64px;
}
.local-nav .icon4 {
    background-position: 0 -96px;
}
.local-nav .icon5 {
    background-position: 0 -128px;
}
/*<local-nav end=================================-->*/

/*<nav-common start=================================-->*/
nav {
    overflow: hidden;
    border-radius: 12px;
}
.nav-common {
    display: flex;
    width: 100%;
    height: 88px;
    box-sizing: border-box;
    text-shadow: 2px 2px rgba(0,0,0,.2);
}
.nav-common:nth-child(1) {
    background:-webkit-linear-gradient(top left, #FA5B54, #FA984D);
    /* border-radius: 12px 12px 0 0 ; */
    
}
.nav-common:nth-child(2) {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;
    background:-webkit-linear-gradient(left, #4B91ED, #53BBED);
    box-sizing: content-box;
}
.nav-common:nth-child(3) {
    background:-webkit-linear-gradient(left, #35C2A7, #6AD45B);
}
.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.nav-items:nth-child(1) {
   background: url(../images/hotel.png) center bottom no-repeat;
   background-size: contain;
}

.nav-items a {
    display: block;
    width: 100%;
    flex: 1;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    text-align: center;
    line-height: 43px;
    color: #fff;
    box-sizing: border-box;
}
/*<nav-common end=================================-->*/

/*<subnav start=================================-->*/
    .subnav {
        display: flex;
        width: 100%;
        background-color: #fff;
        flex-flow: row wrap;
        border-radius: 12px; 
        margin:5px 0; 
        padding: 5px 0;
    }
    .subnav a {
        /* float: left; */
        /* width: 20%; */
        flex: 20%;
        text-align: center;
        /* box-sizing: border-box; */
    }
    .subnav-icon {
        width: 28px;
        height: 28px;
        margin: 10px auto -5px;
        background: url(../images/subnav-bg.png) 0 0 no-repeat;
        background-size: 28px;
    }
/*<subnav end=================================-->*/

/*<sales start=================================-->*/
    .sales {

    }
    .sales-hd {
        height: 31px;
        position: relative;
        padding: 10px 5px;
        background-color: #fff;
        border-bottom : 1px solid #ccc;
        border-top: 1px solid #bbb;


    }
    .sales-hd h2 {
        font-size: 0;
        width: 79px;
        height: 15px;
        margin-top: 9px;
        margin-left: 7px;
        background: url(../images/hot.png) 0 -20px no-repeat;
        background-size: 79px;
    }
    .sales-hd .more {
        display: block;
        position: absolute;
        top: 12px;
        right: 15px;
        width: 114px;
        height: 27px;
        color: #fff;
        background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
        border-radius: 14px;
        line-height: 27px;
        text-align: center;
    }
    .sales-bd  {
        display: flex; 
        /* flex-flow: row nowrap; */
        
    }
    .sales-bd a {
        /* width: 50%; */
        flex: 1;
        border-right: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    .sales-bd a img {
        display: block;
        width: 100%; 
    }


/*<sales end=================================-->*/